import {NgModule} from '@angular/core';
import {RouterModule} from "@angular/router";
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {OrderService} from "@order/order.service";
import {SharedModule} from "@shared/shared.module";
import {PaymentRoutingModule} from "@payment/payment-routing.module";
import {PaymentComponent} from "@payment/payment.component";
import {PaymentService} from "@payment/payment.service";
import {PaymentMainComponent} from "@payment/payment-main/payment-main.component";
import {PaymentResultComponent} from "@payment/payment-result/payment-result.component";


@NgModule({
  imports: [
    SharedModule,
    RouterModule,
    PaymentRoutingModule,
    FormsModule,
    ReactiveFormsModule
  ],
  declarations: [
    PaymentComponent,
    PaymentMainComponent,
    PaymentResultComponent,
  ],
  providers: [
    PaymentService,
    OrderService
  ]
})
export class PaymentModule {
}
